<script setup lang="ts">
import { getQclLeftData } from '@/api/Quancheng';

// 声明emits以避免Vue 3警告
defineEmits(['postMessage']);

const third = ref([] as any);
onMounted(async () => {
  const { data } = await getQclLeftData({ type: 'thirdConstruction' });
  third.value = data.thirdConstructionAlarmVo;
});
</script>

<template>
  <el-row :gutter="20" class="thirdPartyRisk-box">
    <thirdPartyRisk :echartsData="third" v-if="third.seriesList" />
  </el-row>
</template>

<style scoped lang="scss">
.thirdPartyRisk-box {
  width: 100%;
  height: 100%;
}
</style>
